﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BattleLevel : Level
{
    public int Level = 0;
    private void Awake()
    {

    }
    public override void OnSucceed()
    {
        base.OnSucceed();
        if(Player.Instance.m_BattleLevel < Level + 1)
        {
            Player.Instance.m_BattleLevel = Level + 1;
            Player.Instance.save();
        }
    }
}
